package com.lti.appnet.module.response;

import com.lti.appnet.module.domain.Category;

/**
 * Created by sinceow on 2014/7/30.
 */
public class CategoryRes {

    private String id;
    private String name;
    private String moduleId;
    private String wpId;
    private String authorId;

    public CategoryRes() {
        super();
    }

    public CategoryRes(Category category) {
        this.id = category.getID();
        this.name = category.getName();
        this.moduleId = category.getModuleId();
        this.wpId = category.getWpId();
        this.authorId = category.getAuthorId();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getWpId() {
        return wpId;
    }

    public void setWpId(String wpId) {
        this.wpId = wpId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }
}
